
[#macro ordersettleShowView]
<div  class="model-form">
    <el-page-header @back="goBack" content="详情">
    </el-page-header>

        <div class="form-title">详细信息</div>
        <el-form class="viewForm" label-width="80px">
            <el-col :span="12">
                <el-form-item label="付款金额">
                    <div v-html="viewModel.payAmount"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="参与结算金额">
                    <div v-html="viewModel.money"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="结算类型">
                    <div v-html="viewModel.settleTypeName"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="平台扣点">
                    <div v-html="viewModel.platformRate"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="平台扣点">
                    <div v-html="viewModel.platformFee"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="运费">
                    <div v-html="viewModel.freight"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="入账金额">
                    <div v-html="viewModel.balance"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="平台基础">
                    <div v-html="viewModel.platformBasic"></div>
                </el-form-item>
            </el-col>
            <el-col :span="12">
                <el-form-item label="平台入账">
                    <div v-html="viewModel.platformBalance"></div>
                </el-form-item>
            </el-col>
        </el-form>

</div>
[/#macro]
[#macro ordersettleShowConfig]
<script type="text/x-template" id="my-ordersettle-show">
    [@ordersettleShowView /]
</script>
	<script type="text/javascript">
		//显示组件开始
		var ordersettleShowConfig = {};
		ordersettleShowConfig.template = "#my-ordersettle-show";
		ordersettleShowConfig.methods =config.basicMethod();
		ordersettleShowConfig.data = function () {
			return {
				viewModel: {
				},
				activeIndex: "1"
			}
		};


		ordersettleShowConfig.mounted = function () {
			var id = this.$route.query.id;
			var self = this;
			var data = {};
			data.id = id;
			this.postData("${siteurl}tenantRest/ordersettle/view.htm", data, function (res) {
				if (res.code == 0) {
					self.viewModel = res;

				}
			});
		}
		var ordersettleShowView = Vue.component('my-ordersettle-view', ordersettleShowConfig);
		//显示组件结束		
	</script>
[/#macro]


